import axios from "axios";

/**
 * 获取路由列表
 */
export const getRouteByJson = async () => {
  const { data } = await axios.get(`${window.origin}/json/routes.json`);
  return data;
};
